# 定义一个带有成员方法的类
class Student:
    name = None

    def say_hi(self):
        print(f"大家好，我是{self.name},欢迎大家多多关照")

    def say_hi2(self,msq):
        print(f"{msq}你好，我是{self.name}")


stu = Student()
stu.name = "zhoujielun"
stu.say_hi2("哎呦不错邮")

stu2 = Student()
stu2.name = "linjunjie"
stu2.say_hi2("小伙子我看好你")